package com.SmartCare.pojo.apiLog;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 接口调用日志表
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ApiLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 接口名称
     */
    private String apiName;
    /**
     *功能描述
     */
    private String descFunction;
    /**
     * 调用次数
     */
    private Integer times;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 养老院名称
     */
    private String chName;
    /**
     * 模块名
     */
    private String module;

    /**
     * 创建日期
     */
    private LocalDate createDate;

}
